package com.hxzy.shop.dto.freight.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author hu-yf
 * @createTime 2022/3/29 14:06
 * @description
 */
@Data
public class EditExpressThresholdReq implements Serializable {

    @ApiModelProperty("起送模式：1起送门槛模式，2起送包邮模式")
    @NotNull(message = "其实规则不能为空")
    private Integer type;

    @ApiModelProperty("起送规则1实付价格（优惠后价格） 2实际价格（优惠前价格）")
    @NotNull(message = "其实规则不能为空")
    private Integer thresholdRule;

    @ApiModelProperty("起送价格")
    @NotNull(message = "其实价格不能为空")
    private BigDecimal thresholdPrice;


    @ApiModelProperty("0未启用，1已启用")
    private Boolean status;
}
